@font-face{
    font-family:pingfang;
    /*为引入的字体命名*/
    src:url(../font/pingfang.ttf);
    /*定义要引入字体文件的路径*/
}

* {
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    text-decoration: none;
}


body {
    font-family: pingfang;
}
ul {
    list-style: none;
}
input {
    display: block;
    border: none;
    outline: none;
    -webkit-user-select: text;
    -webkit-appearance:none;
    border-radius: 0;
}
input[type="submit"] {
    -webkit-user-select: none;
}
.main {
    width: 100%;
    max-width: 7.5rem;
    margin: 0 auto;
    padding-top: 0.8rem;
    padding-bottom: 1.2rem;
}

header,
footer {
    position: fixed;
    z-index: 9999;
    width: 100%;
    max-width: 7.5rem;
    left: 50%;
    margin-left: -3.75rem;
    background-color: #424242;
}

header {
    top: 0;
    height: 0.8rem;
    line-height: 0.8rem;
    font-size: 0.34rem;
    color: #fff;
    text-align: center;
}

.backArrow {
    display: block;
    width: 0.15rem;
    height: 0.27rem;
    position: absolute;
    left: 0.32rem;
    top: 50%;
    margin-top: -0.135rem;
    background: url(../images/backArrow.png) no-repeat;
    background-size: 0.15rem 0.27rem;
}

footer {
    height: 1rem;
    bottom: 0;
}

footer {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

.f-nav {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.navIcon {
    width: 0.4rem;
    height: 0.4rem;
    margin: 0.14rem auto 0.06rem;
}

.homeIcon {
    background: url(../images/homeIcon.png) no-repeat;
    background-size: 0.4rem 0.4rem;
}

.typeIcon {
    background: url(../images/typeIcon.png) no-repeat;
    background-size: 0.4rem 0.4rem;
}

.myIcon {
    background: url(../images/myIcon.png) no-repeat;
    background-size: 0.4rem 0.4rem;
}

.moreIcon {
    background: url(../images/moreIcon.png) no-repeat;
    background-size: 0.4rem 0.4rem;
}

.f-nav-active .homeIcon {
    background: url(../images/homeIcon-active.png) no-repeat;
    background-size: 0.4rem 0.4rem;
}

.f-nav-active .typeIcon {
    background: url(../images/typeIcon-active.png) no-repeat;
    background-size: 0.4rem 0.4rem;
}

.f-nav-active .myIcon {
    background: url(../images/myIcon-active.png) no-repeat;
    background-size: 0.4rem 0.4rem;
}

.f-nav-active .moreIcon {
    background: url(../images/moreIcon-active.png) no-repeat;
    background-size: 0.4rem 0.4rem;
}

.navTit {
    font-size: 0.22rem;
    height: 0.3rem;
    line-height: 0.3rem;
    text-align: center;
    color: #fff;
}

.f-nav-active .navTit {
    color: #e38a47;
}